Click here to Skip to main content
15,897,371 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Converting encrypted data into string/decimal and vice versa Pin
Michael Dunn16-Jan-07 8:35
sitebuilderMichael Dunn16-Jan-07 8:35 
GeneralRe: Converting encrypted data into string/decimal and vice versa Pin
vgandhi16-Jan-07 9:16
vgandhi16-Jan-07 9:16 
GeneralRe: Converting encrypted data into string/decimal and vice versa Pin
vgandhi17-Jan-07 19:22
vgandhi17-Jan-07 19:22 
QuestionHow to insert drawings.. [modified] Pin
Shah Satish16-Jan-07 0:06
Shah Satish16-Jan-07 0:06 
AnswerRe: How to insert drawings.. Pin
Hamid_RT16-Jan-07 1:20
Hamid_RT16-Jan-07 1:20 
GeneralRe: How to insert drawings.. [modified] Pin
toxcct16-Jan-07 0:12
toxcct16-Jan-07 0:12 
GeneralRe: How to insert drawings.. Pin
Hamid_RT16-Jan-07 1:13
Hamid_RT16-Jan-07 1:13 
GeneralRe: How to insert drawings.. Pin
toxcct16-Jan-07 1:31
toxcct16-Jan-07 1:31 
GeneralRe: How to insert drawings.. Pin
Hamid_RT16-Jan-07 1:40
Hamid_RT16-Jan-07 1:40 
AnswerRe: How to insert drawings.. Pin
Cedric Moonen16-Jan-07 1:20
Cedric Moonen16-Jan-07 1:20 
AnswerRe: How to insert drawings.. Pin
David Crow16-Jan-07 3:06
David Crow16-Jan-07 3:06 
GeneralRe: How to insert drawings.. Pin
Shah Satish16-Jan-07 3:25
Shah Satish16-Jan-07 3:25 
GeneralRe: How to insert drawings.. Pin
Shah Satish16-Jan-07 6:53
Shah Satish16-Jan-07 6:53 
GeneralRe: How to insert drawings.. Pin
Shah Satish17-Jan-07 0:18
Shah Satish17-Jan-07 0:18 
GeneralRe: How to insert drawings.. Pin
David Crow17-Jan-07 2:34
David Crow17-Jan-07 2:34 
GeneralRe: How to insert drawings.. Pin
Shah Satish17-Jan-07 2:54
Shah Satish17-Jan-07 2:54 
GeneralRe: How to insert drawings.. Pin
David Crow17-Jan-07 3:00
David Crow17-Jan-07 3:00 
AnswerRe: How to insert drawings.. Pin
beko16-Jan-07 21:05
beko16-Jan-07 21:05 
GeneralRe: How to insert drawings.. Pin
Shah Satish16-Jan-07 21:09
Shah Satish16-Jan-07 21:09 
QuestionManipulating playlist in WMP 9 Pin
adoreable15-Jan-07 23:48
adoreable15-Jan-07 23:48 
QuestionStudio amd asm code Pin
DanB198315-Jan-07 23:37
DanB198315-Jan-07 23:37 
AnswerRe: Studio amd asm code Pin
Rage16-Jan-07 1:30
professionalRage16-Jan-07 1:30 
GeneralRe: Studio amd asm code Pin
DanB198316-Jan-07 1:45
DanB198316-Jan-07 1:45 
QuestionRe: Studio amd asm code Pin
David Crow16-Jan-07 3:11
David Crow16-Jan-07 3:11 
AnswerRe: Studio amd asm code Pin
DanB198316-Jan-07 3:30
DanB198316-Jan-07 3:30 
Hey thanks for the reply.

The problem is that I have an asm function that writes to video memory called ClearRectangle(BYTE left, BYTE top, BYTE right, BYTE bottom, BYTE colour).

I attempt to compile this with ml.exe (as per the build step i talked about in my first post).

I also have a cpp file that simplified looks like this:

typedef char BYTE;
extern ClearRectangle(BYTE left, BYTE top, BYTE right, BYTE bottom, BYTE character, BYTE colour);

int main(void)
{
ClearRectangle(0, 0, 80, 25, 0xDB, 0x1);
}

When i compile this i get ASM error LNK2019: unresolved external symbol "void __cdecl ClearRectangle(char left, char top, char right, char bottom, char character, char colour)"


General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.