Post reply

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.
Name:
Email:
Subject:
Message icon:

Verification:
Type the letters shown in the picture
Listen to the letters / Request another image

Type the letters shown in the picture:
What is the last letter in the word "SlickEdit":
How many LETTERS are in the following? "a1b2c3":
Which number is missing?  "12345689":

shortcuts: hit alt+s to submit/post or alt+p to preview


Topic Summary

Posted by: kutay
« on: February 16, 2013, 11:08:00 AM »

thanks alot
Posted by: hs2
« on: February 12, 2013, 01:04:23 PM »

In the C/C++ PreProc. dialog just enter/paste the macro code in the edit window:
Code: [Select]
#define MyReg ((MyTypedef *)(0x12345678)) and 'Apply' and say 'Yes' to retag your workspace.

Note that also macro args are supported ie.
Code: [Select]
#define RegPtr(p)  ((MyTypedef *)(p))HS2
Posted by: kutay
« on: February 12, 2013, 10:50:09 AM »

hello hs2,
 thx for your reply, Please you can say or show , How can I add in slickedit C/C++ preprocessing?
I tried adding in tools-> options-> app languages-> C/C++-> C/C++ preprocessing but  It didnt work as structure

Thx in advance
 
Posted by: hs2
« on: February 11, 2013, 08:44:34 PM »

Try adding the MyReg macro to the 'C/C++ Preprocessing' settings. HS2
Posted by: kutay
« on: February 11, 2013, 04:22:37 PM »

Hello,

I'm programming some microcontrollers in C. 
if possible, I want to point in slickedit as structure a defined name (in C programming)

for exemple:

MyTypedef is a structure and  it points an address

Code: [Select]
typedef struct{
    unsigned char lo;
    unsigned char hi;
}MyTypedef;

#define MyReg (((MyTypedef *)(0x12345678)))

Normally, I can access following
Myreg->lo=10;

But I want to see structure members after typing "Myreg->". 
 
Slickedit shows for pointer variables but I want to see defined names , is this possible?

Thx in advance.