Click here to Skip to main content
15,867,835 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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)"


GeneralRe: Studio amd asm code Pin
David Crow16-Jan-07 4:04
David Crow16-Jan-07 4:04 
GeneralRe: Studio amd asm code Pin
DanB198316-Jan-07 5:00
DanB198316-Jan-07 5:00 
GeneralRe: Studio amd asm code Pin
David Crow16-Jan-07 5:42
David Crow16-Jan-07 5:42 
GeneralRe: Studio amd asm code Pin
James R. Twine16-Jan-07 6:51
James R. Twine16-Jan-07 6:51 
GeneralRe: Studio amd asm code Pin
DanB198316-Jan-07 8:39
DanB198316-Jan-07 8:39 
GeneralRe: Studio amd asm code Pin
James R. Twine16-Jan-07 11:43
James R. Twine16-Jan-07 11:43 
QuestionAbout Dialog BackGround images.. Pin
klvin15-Jan-07 23:14
klvin15-Jan-07 23:14 
AnswerRe: About Dialog BackGround images.. Pin
QuickDeveloper16-Jan-07 0:28
QuickDeveloper16-Jan-07 0:28 
AnswerRe: About Dialog BackGround images.. Pin
Hamid_RT16-Jan-07 1:12
Hamid_RT16-Jan-07 1:12 
QuestionRe: About Dialog BackGround images.. Pin
prasad_som15-Jan-07 23:16
prasad_som15-Jan-07 23:16 
AnswerRe: About Dialog BackGround images.. Pin
toxcct15-Jan-07 23:25
toxcct15-Jan-07 23:25 
JokeRe: About Dialog BackGround images.. Pin
prasad_som15-Jan-07 23:27
prasad_som15-Jan-07 23:27 
GeneralRe: About Dialog BackGround images.. Pin
toxcct15-Jan-07 23:36
toxcct15-Jan-07 23:36 
GeneralRe: About Dialog BackGround images.. Pin
prasad_som16-Jan-07 0:49
prasad_som16-Jan-07 0:49 
Questionhow to change font of resources used in application? Pin
Atul2315-Jan-07 23:00
Atul2315-Jan-07 23:00 
AnswerRe: how to change font of resources used in application? Pin
Rajesh R Subramanian15-Jan-07 23:10
professionalRajesh R Subramanian15-Jan-07 23:10 
AnswerRe: how to change font of resources used in application? Pin
jhwurmbach15-Jan-07 23:10
jhwurmbach15-Jan-07 23:10 

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.